<template>
    <div>
        student
        <Button type="success" v-has="{com:'StudentView',btn:'add'}">增加</Button>
        <Button type="warning" v-has="{com:'StudentView',btn:'edit'}">编辑</Button>
        <hr>
        <Demo1></Demo1>
        <hr>
        <Demo2></Demo2>
        <hr>
        <Demo3></Demo3>
    </div>
</template>
<script>
import { Button } from 'element-ui'
import Demo1 from '../components/Demo1.vue'
import Demo2 from '../components/Demo2.vue'
import Demo3 from '../components/Demo3.vue'
export default{
    created(){
        //console.log(this.$route.query)
        console.log(this.$route.params)
        
    },
    components:{
        Demo1,
        Demo2,
        Demo3,
        Button
    }
}
</script>